package com.soxing.braindata.dao.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.soxing.braindata.dao.domain.request.ResearchSearchRequest;
import com.soxing.braindata.dao.domain.vo.TinyResearch;
import com.soxing.braindata.dao.entity.Research;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author durango
 * @since 2022-07-02
 */
public interface ResearchMapper extends BaseMapper<Research> {
    /**
     * 自定义分页查询
     *
     * @param page
     * @param request
     * @return
     */
    IPage<TinyResearch> selectMyPage(IPage<TinyResearch> page, @Param("param") ResearchSearchRequest request);
}
